﻿namespace SPRepository
{
    public class CalculatedFieldDto<T>
    {
        private readonly int _currencyLocaleId;

        public CalculatedFieldDto(T value) : this(value, 0)
        {
        }

        public CalculatedFieldDto(T value, int currencyLocaleId)
        {
            _currencyLocaleId = currencyLocaleId;
            Value = value;
        }

        public T Value { get; set; }

        public int CurrencyLocaleId
        {
            get { return _currencyLocaleId; }
        }
    }
}